package com.gzsxy.bridge;

/**
 * @author xiaolong
 * @version 1.0
 * @description: TODO
 * @date 2022/4/23 14:56
 */
public class test {
    public static void main(String[] args) {
        //苹果笔记本
        Computer computer = new Laptop(new Apple());
        computer.info();
        //联想台式机
        Computer computer1 =  new Desktop(new Lenovo());
        computer1.info();
    }
}
